import requestmock from '@/utils/requestmock'

// 获取城市列表
export function fetchCityList(data) {
	return requestmock({
		url: '/city/list',
		method: 'POST',
		data: data
	})
}

//经纬度获取城市商圈
export function fetchCityArea(data) {
	return requestmock({
		url: '/area/getArea',
		method: 'POST',
		data: data
	})
}

// 经纬度添加城市
export function createCity(data) {
	return requestmock({
		url: '/city/create',
		method: 'POST',
		data: data
	})
}


// WEBPACK FOOTER //
// ./src/api/city.js